#ifndef TRYNEENGINE_H_
#define TRYNEENGINE_H_

// By: Jesse Guarascia de Urena
// Tryne engine class
// Deals with initializing all of the libraries

#include <stdlib.h>
#include <time.h>
#include "GameState.h"
#include "TryneTimer.h"
#include "AssetManager.h"

class TryneEngine : AssetManager
{
private:
	// Initialize the different sub-systems
	void InitOpenGL(int w, int h);
	void InitSDL_Mixer();
	void InitText();

	// Timer used to regulate frame rate
	TryneTimer fpsReg;

	// Screen dimensions
	int screenW, screenH;

public:
	TryneEngine(void);
	~TryneEngine(void);

	void Execute(GameState *state); // Start the engine
};

#endif // TRYNEENGINE_H_

